﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLiBongDa.DataAccessLayer
{
    class DoiBongDTO
    {
        #region "Variables"
        private string _maDoi;
        private string _tenDoi;
        private string _maSan;
        private int _diem;
        private int _hieuSo;
        private int _soBanThang;
        private int _soBanThua;
        private int _soTranThang;
        private int _hang;
        #endregion
        #region "Propreties"
        public string MaDoi
        {
            get { return _maDoi; }
            set { _maDoi = value; }
        }
        public int Hang
        {
            get { return _hang; }
            set { _hang = value; }
        }
        public int SoTranThang
        {
            get { return _soTranThang; }
            set { _soTranThang = value; }
        }
        public int SoBanThua
        {
            get { return _soBanThua; }
            set { _soBanThua = value; }
        }
        public int SoBanThang
        {
            get { return _soBanThang; }
            set { _soBanThang = value; }
        }

        public string TenDoi
        {
            get { return _tenDoi; }
            set { _tenDoi = value; }
        }
        public int HieuSo
        {
            get { return _hieuSo; }
            set { _hieuSo = value; }
        }
        public int Diem
        {
            get { return _diem; }
            set { _diem = value; }
        }
        public string MaSan
        {
            get { return _maSan; }
            set { _maSan = value; }
        }
        
        #endregion
        #region "Constructors"
        public DoiBongDTO()
        {

            MaDoi = "";
            TenDoi = "";
            MaSan = "";
            Diem = 0;
            HieuSo = 0;
            SoBanThang = 0;
            SoBanThua = 0;
            SoTranThang = 0;
            Hang = 0;
        }
        public DoiBongDTO(string pMaDoi, string pTenDoi, string pMaSan, int pDiem, int pHieuSo, int pSoBanThang, int pSoBanThua, int pSoTranThang, int pHang)
        {
            MaDoi = pMaDoi;
            MaSan = pMaSan;
            TenDoi = pTenDoi;
            Diem = pDiem;
            HieuSo = pHieuSo;
            SoBanThang = pSoBanThang;
            SoBanThua = pSoBanThua;
            SoTranThang = pSoTranThang;
            Hang = pHang;
        }
        //public override string ToString()
        //{
        //    return MaDoi;
        //}
        #endregion
    }
}
